import request from "../request";

// 获取全部视频标签
export const geAllVideoTags = () => {
	return request({
		url: "/video/group/list",
	});
}
//获取热门视频标签
export const geHotVideoTags = () => {
	return request({
		url: "/video/category/list",
	});
}

// 获取分类视频列表
export const getGroupVideoList = (id, offset) => {
	return request({
		url: "/video/group",
		params: {
			id,
			offset,
		},
	});
}